package cn.iocoder.yudao.module.qrcode.controller.admin.group.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 二维码分组新增/修改 Request VO")
@Data
public class GroupSaveReqVO {

    @Schema(description = "分组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28619")
    private Long id;

    @Schema(description = "分组名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "分组名称不能为空")
    private String name;

    @Schema(description = "分组类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "分组类型不能为空")
    private Integer type;

    @Schema(description = "分组状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "分组状态不能为空")
    private Integer status;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "显示顺序不能为空")
    private Integer sort;

    @Schema(description = "是否可见", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否可见不能为空")
    private Boolean visible;

    @Schema(description = "业务类型编码")
    private String bizCode;

    @Schema(description = "父分组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11798")
    @NotNull(message = "父分组ID不能为空")
    private Long parentId;

    @Schema(description = "分组图标")
    private String icon;

}